from apps.common.models import PbiBaseCheck
from extensions.models import *


class ClsbbfakCheck(PbiBaseCheck):
    clsbbfak = ForeignKey('clsbb.Clsbbfak_Records', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbfakCheck')
    check_user = ForeignKey('system.User', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbfakCheck')

    class Meta:
        verbose_name = 'Clsbbfak审核记录'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.opinion


class ClsbbalkCheck(PbiBaseCheck):
    clsbbalk = ForeignKey('clsbb.Clsbbalk_Records', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbalkCheck')
    check_user = ForeignKey('system.User', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbalkCheck')

    class Meta:
        verbose_name = 'Clsbbalk审核记录'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.opinion


class ClsbbtbkCheck(PbiBaseCheck):
    clsbbtbk = ForeignKey('clsbb.Clsbbtbk_Records', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbtbkCheck')
    check_user = ForeignKey('system.User', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbtbkCheck')

    class Meta:
        verbose_name = 'Clsbbtbk审核记录'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.opinion


class ClsbbcpkCheck(PbiBaseCheck):
    clsbbcpk = ForeignKey('clsbb.Clsbbcpk_Records', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbcpkCheck')
    check_user = ForeignKey('system.User', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbcpkCheck')

    class Meta:
        verbose_name = 'Clsbbcpk审核记录'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.opinion


class ClsbbhzhbkCheck(PbiBaseCheck):
    clsbbhzhbk = ForeignKey('clsbb.Clsbbhzhbk_Records', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbhzhbkCheck')
    check_user = ForeignKey('system.User', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbhzhbkCheck')

    class Meta:
        verbose_name = 'Clsbbhzhbk审核记录'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.opinion


class ClsbbgszzkCheck(PbiBaseCheck):
    clsbbgszzk = ForeignKey('clsbb.Clsbbgszzk_Records', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbgszzkCheck')
    check_user = ForeignKey('system.User', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbgszzkCheck')

    class Meta:
        verbose_name = 'Clsbbgszzk审核记录'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.opinion


class ClsbbryzzkCheck(PbiBaseCheck):
    clsbbryzzk = ForeignKey('clsbb.Clsbbryzzk_Records', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbryzzkCheck')
    check_user = ForeignKey('system.User', on_delete=CASCADE, blank=True, default=None, related_name='ClsbbryzzkCheck')

    class Meta:
        verbose_name = 'Clsbbryzzk审核记录'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.opinion
